#include "stdafx.h"
#include "MsgLuaCommand.h"



MsgLuaCommand::MsgLuaCommand(const std::string& strCmd)
:MsgBase(Category, Id),m_theCommandline(strCmd)
{

}

bool
MsgLuaCommand::decode(MsgIStream& stream)
{
	stream>>m_theCommandline;
	return true;
}

bool
MsgLuaCommand::encode(MsgOStream& stream)
{
	stream<<m_theCommandline;
	return true;
}

void 
MsgLuaCommand::dump()
{
}

bool 
MsgLuaCommand::validate()
{
	return true;
}